import Main from '@/view/main'

export default [
  {
    path: '/ums/personal/index',
    name: 'ums:personal:index',
    meta: {
      icon: 'md-book',
      title: '个人中心',
      access: ['admin','ums:personal:index'],
      notCache: true,
      showAlways: true
    },
    component: Main,
    children: [
      {
        path: '/ums/personal/info',
        name: 'ums:personal:getInfo',
        meta: {
          icon: '',
          title: '个人信息',
          access: ['admin','ums:personal:getInfo'],
          notCache: true
        },
        component:(resolve) => {
          import('@/view/modules/ums/personal/info.vue').then(m => {
            resolve(m)
          })
        }
      }
    ]
  }
]